package com.sendpo.zjx.sendpo.fragment.storeallproduce;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.sendpo.zjx.sendpo.activity.StoreMainAllProduceActivity;

/**
 * Created by Administrator on 2017/8/19.
 */

public abstract class StoreAllProduceBaseFragment extends Fragment {

    public StoreMainAllProduceActivity mActivity;


    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.mActivity= (StoreMainAllProduceActivity) getActivity();
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return initView();
    }

    public abstract View initView();
}
